package com.zlc.workflow.core.process.model;

import com.zlc.common.core.process.model.vo.StoneProcessNodeVo;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * 节点定义
 */
@Getter
@Setter
@Accessors(chain = true)
public class ProcessNodeEntity extends StoneProcessNodeVo {

    @ApiModelProperty(value="审批配置")
    private NodeApproveConfig approveConfig;

    @ApiModelProperty(value = "事件配置")
    private List<ProcessEventConfig> eventConfigs;

    @ApiModelProperty(value = "权限配置")
    private List<NodeAuthConfig> authConfigs;

    @ApiModelProperty(value = "表单配置")
    private List<ProcessFormConfig> formConfigs;

    @ApiModelProperty(value = "变量配置")
    private List<ProcessVariableConfig> variableConfigs;
}
